package c.j.a.d.a.p;

import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import c.j.a.c.m.d;
import c.j.a.d.a.i;
import c.j.a.d.b.e.b;
import com.ss.android.socialbase.appdownloader.view.DownloadTaskDeleteActivity;

/* compiled from: DownloadTaskDeleteActivity */
public class c implements OnClickListener {
    public final /* synthetic */ com.ss.android.socialbase.downloader.g.c a;
    public final /* synthetic */ int b;
    public final /* synthetic */ DownloadTaskDeleteActivity c;

    public c(DownloadTaskDeleteActivity downloadTaskDeleteActivity, com.ss.android.socialbase.downloader.g.c cVar, int i) {
        this.c = downloadTaskDeleteActivity;
        this.a = cVar;
        this.b = i;
    }

    public void onClick(DialogInterface dialogInterface, int i) {
        d dVar = i.j().b;
        if (dVar != null) {
            dVar.b(this.a);
        }
        c.j.a.d.b.d.d l = c.j.a.d.b.e.i.a(b.a()).l(this.b);
        if (l != null) {
            String str = "";
            l.J(10, this.a, str, str);
        }
        if (b.a() != null) {
            c.j.a.d.b.e.i.a(b.a()).e(this.b, true);
        }
        this.c.finish();
    }
}
